package com.charging.system.mapper;

import java.util.List;
import com.charging.system.domain.KxRefundRecord;

/**
 * 退款记录Mapper接口
 * 
 * @author charging
 * @date 2024-04-19
 */
public interface KxRefundRecordMapper 
{
    /**
     * 查询退款记录
     * 
     * @param refundRecordId 退款记录主键
     * @return 退款记录
     */
    public KxRefundRecord selectKxRefundRecordByRefundRecordId(Long refundRecordId);

    /**
     * 查询退款记录列表
     * 
     * @param kxRefundRecord 退款记录
     * @return 退款记录集合
     */
    public List<KxRefundRecord> selectKxRefundRecordList(KxRefundRecord kxRefundRecord);

    /**
     * 新增退款记录
     * 
     * @param kxRefundRecord 退款记录
     * @return 结果
     */
    public int insertKxRefundRecord(KxRefundRecord kxRefundRecord);

    /**
     * 修改退款记录
     * 
     * @param kxRefundRecord 退款记录
     * @return 结果
     */
    public int updateKxRefundRecord(KxRefundRecord kxRefundRecord);

    /**
     * 删除退款记录
     * 
     * @param refundRecordId 退款记录主键
     * @return 结果
     */
    public int deleteKxRefundRecordByRefundRecordId(Long refundRecordId);

    /**
     * 批量删除退款记录
     * 
     * @param refundRecordIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteKxRefundRecordByRefundRecordIds(Long[] refundRecordIds);
}
